package com.saa.system.controller;


import com.saa.system.vo.LoginInfoVo;
import ins.framework.web.ApiResponse;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;


/**
 * 核赔业务模块包括页面的初始化以及核赔结果的保存
 * @author dongzhijia
 */
@RestController
@RequestMapping("/saa")
public class LoginApi {
	private Logger log= LoggerFactory.getLogger(LoginApi.class);

	/*****
	 * 用户登录请求
	 * **/
	@RequestMapping(value="/login")
	public ApiResponse login(@RequestBody LoginInfoVo loginInfoVo){
		ApiResponse api = new ApiResponse();
		//log.info("==/login:"+json);
		api.setData(loginInfoVo);
		return api;
	}
   	
}
